/*
 * diskimg.c
 *
 *  Created on: 13-02-2012
 *      Author: Mateusz
 */

/* Disk Image */
#include <cr_section_macros.h>
#include "diskimg.h"

// FAT12 Boot sector constants
__AFTER_VECTORS const unsigned char BootSect[] = {
0xEB,0x3C,0x90,0x4D,0x53,0x44,0x4F,0x53,0x35,0x2E,0x30,0x00,0x02,0x01,0x01,0x00,
0x01,0x10,0x00,0x34,0x00,0xF8,0x02,0x00,0x01,0x00,0x01,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x29,0x74,0x19,0x02,0x27,0x52,0x62,0x43,0x74,0x72,
0x6C,0x20,0x42,0x4C,0x20,0x20,0x46,0x41,0x54,0x31,0x32,0x20,0x20,0x20,0x00,0x00
};

// FAT12 Root directory entry constants
 const unsigned char RootDirEntry[12] = {
0x52,0x62,0x43,0x74,0x72,0x6C,0x20,0x42,0x4C,0x20,0x20,0x28};

// RAM to store the file allocation table
unsigned char  Fat_RootDir[FAT_SIZE + ROOT_DIR_SIZE];
